package com.link.base.base.common.model;

import java.util.List;

public class NewMenu {

    private Long id;

    private Long corpid;
    /**
     * 菜单图标
     */
    private String menuIcon;
    /**
     * 菜单请求URL
     */
    private String menuUrl;
    /**
     * 菜单名称
     */
    private String text;
    /**
     * 排序号码
     */
    private String sortNumber;

    /**
     * 父菜单Id
     */
    private Long parentMenuId;
    /**
     * 父菜单名称
     */
    private String parentMenuName;
    /**
     * 菜单类型
     */
    private String menuType;
    /**
     * 安全性
     */
    private String oauthType;
    /**
     * 其他安全性sql
     */
    private String oauthSql;
    /**
     * 菜单类型名称
     */
    private String menuTypeName;

    /**
     * 菜单等级
     */
    private String menuGrade;

    /**
     * 所属系统(DMS/CRM)
     */
    private String platformType;
    /**
     * 菜单只读标记
     */
    private String readonlyFlag;
    /**
     * 菜单可新建标记
     */
    private String addFlag;
    /**
     * 菜单可编辑标记
     */
    private String editFlag;
    /**
     * 菜单可删除标记
     */
    private String deleteFlag;
    /**
     * 菜单可导入标记
     */
    private String importFlag;
    /**
     * 菜单可导出标记
     */
    private String exportFlag;
    /**
     * 菜单只读标记
     */
    private String dutyReadonlyFlag;
    /**
     * 菜单可新建标记
     */
    private String dutyAddFlag;
    /**
     * 菜单可编辑标记
     */
    private String dutyEditFlag;
    /**
     * 菜单可删除标记
     */
    private String dutyDeleteFlag;
    /**
     * 菜单可导入标记
     */
    private String dutyExportFlag;
    /**
     * 菜单可导出标记
     */
    private String dutyImportFlag;
    /**
     * 是否在当前窗口打开页面
     */
    private String openNewpageFlag;

    /**
     * 默认空查询
     */
    private String defaultNoQueryFlag;

    /**
     * 是否公共菜单（账套为000，且commonFlag=="Y")
     */
    private String commonFlag;

    /**
     * 是否首页类型，一级菜单有效
     */
    private String homePageFlag;

    /**
     * 父菜单是否首页类型，一级菜单有效
     */
    private String parentHomePageFlag;

    private List<NewMenu> subMenus;

    public NewMenu() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCorpid() {
        return corpid;
    }

    public void setCorpid(Long corpid) {
        this.corpid = corpid;
    }

    public String getCommonFlag() {
        return commonFlag;
    }

    public void setCommonFlag(String commonFlag) {
        this.commonFlag = commonFlag;
    }

    public String getParentHomePageFlag() {
        return parentHomePageFlag;
    }

    public void setParentHomePageFlag(String parentHomePageFlag) {
        this.parentHomePageFlag = parentHomePageFlag;
    }

    public String getHomePageFlag() {
        return homePageFlag;
    }

    public void setHomePageFlag(String homePageFlag) {
        this.homePageFlag = homePageFlag;
    }

    public String getImportFlag() {
        return importFlag;
    }

    public void setImportFlag(String importFlag) {
        this.importFlag = importFlag;
    }

    public String getDefaultNoQueryFlag() {
        return defaultNoQueryFlag;
    }

    public void setDefaultNoQueryFlag(String defaultNoQueryFlag) {
        this.defaultNoQueryFlag = defaultNoQueryFlag;
    }

    public String getOpenNewpageFlag() {
        return openNewpageFlag;
    }

    public void setOpenNewpageFlag(String openNewpageFlag) {
        this.openNewpageFlag = openNewpageFlag;
    }

    public String getExportFlag() {
        return exportFlag;
    }

    public void setExportFlag(String exportFlag) {
        this.exportFlag = exportFlag;
    }

    public String getDutyReadonlyFlag() {
        return dutyReadonlyFlag;
    }

    public void setDutyReadonlyFlag(String dutyReadonlyFlag) {
        this.dutyReadonlyFlag = dutyReadonlyFlag;
    }

    public String getDutyAddFlag() {
        return dutyAddFlag;
    }

    public void setDutyAddFlag(String dutyAddFlag) {
        this.dutyAddFlag = dutyAddFlag;
    }

    public String getDutyEditFlag() {
        return dutyEditFlag;
    }

    public void setDutyEditFlag(String dutyEditFlag) {
        this.dutyEditFlag = dutyEditFlag;
    }

    public String getDutyDeleteFlag() {
        return dutyDeleteFlag;
    }

    public void setDutyDeleteFlag(String dutyDeleteFlag) {
        this.dutyDeleteFlag = dutyDeleteFlag;
    }

    public String getDutyExportFlag() {
        return dutyExportFlag;
    }

    public void setDutyExportFlag(String dutyExportFlag) {
        this.dutyExportFlag = dutyExportFlag;
    }

    public String getDutyImportFlag() {
        return dutyImportFlag;
    }

    public void setDutyImportFlag(String dutyImportFlag) {
        this.dutyImportFlag = dutyImportFlag;
    }

    public String getReadonlyFlag() {
        return readonlyFlag;
    }

    public void setReadonlyFlag(String readonlyFlag) {
        this.readonlyFlag = readonlyFlag;
    }

    public String getAddFlag() {
        return addFlag;
    }

    public void setAddFlag(String addFlag) {
        this.addFlag = addFlag;
    }

    public String getEditFlag() {
        return editFlag;
    }

    public void setEditFlag(String editFlag) {
        this.editFlag = editFlag;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getMenuGrade() {
        return menuGrade;
    }

    public void setMenuGrade(String menuGrade) {
        this.menuGrade = menuGrade;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Long getParentMenuId() {
        return parentMenuId;
    }

    public void setParentMenuId(Long parentMenuId) {
        this.parentMenuId = parentMenuId;
    }

    public String getParentMenuName() {
        return parentMenuName;
    }

    public void setParentMenuName(String parentMenuName) {
        this.parentMenuName = parentMenuName;
    }

    public String getOauthType() {
        return oauthType;
    }

    public void setOauthType(String oauthType) {
        this.oauthType = oauthType;
    }

    public String getOauthSql() {
        return oauthSql;
    }

    public void setOauthSql(String oauthSql) {
        this.oauthSql = oauthSql;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getMenuTypeName() {
        return menuTypeName;
    }

    public void setMenuTypeName(String menuTypeName) {
        this.menuTypeName = menuTypeName;
    }

    public String getSortNumber() {
        return sortNumber;
    }

    public void setSortNumber(String sortNumber) {
        this.sortNumber = sortNumber;
    }

    public List<NewMenu> getSubMenus() {
        return subMenus;
    }

    public void setSubMenus(List<NewMenu> subMenus) {
        this.subMenus = subMenus;
    }

    public String getPlatformType() {
        return platformType;
    }

    public void setPlatformType(String platformType) {
        this.platformType = platformType;
    }
}
